<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>个人博客注册</title>
		<link rel="stylesheet" type="text/css" href="lib/layui-v2.6.8/layui/css/layui.css" />
		<link rel="stylesheet" type="text/css" href="css/login.css" />
		
	</head>
	<body>
		<!-- 头部logo -->
		<div class="layui-main">
			<img src="images/logo.png">
		</div>
		<!-- 登录注册表单 -->
		<div class="loginAndRegbox">
			<div class="title-box"></div>
			<!-- 登录div -->
			<div class="login-box">
				<!-- 登录的表单 -->
				<form class="layui-form" id="form_login">
					<div class="layui-form-item">
						<i class="layui-icon layui-icon-username"></i>
						<input type="text" name="username" required lay-verify="required" placeholder="请输入用户名"
							autocomplete="off" class="layui-input">
					</div>
					<div class="layui-form-item">
						<i class="layui-icon layui-icon-password"></i>
						<input type="password" name="password" required lay-verify="required|pwd" placeholder="请输入密码"
							autocomplete="off" class="layui-input">
					</div>
					<div class="layui-form-item">
						<!-- 表单提交按钮和普通按钮区别就是lay-submit -->
						<button class="layui-btn layui-btn-fluid layui-btn layui-btn-normal" lay-submit>立即登录</button>
					</div>
					<div class="layui-form-item links">
						<!-- 防跳转 -->
						<a href="javascript:;" id="link_reg">注册账号</a>
					</div>
				</form>

			</div>
			<!-- 注册div -->
			<div class="reg-box">
				<form class="layui-form" id="form_reg">
					<div class="layui-form-item">
						<i class="layui-icon layui-icon-username"></i>
						<input type="text" name="username" required lay-verify="required" placeholder="请输入用户名"
							autocomplete="off" class="layui-input">
					</div>
					<div class="layui-form-item">
						<i class="layui-icon layui-icon-password"></i>
						<input type="password" name="password" required lay-verify="required|pwd" placeholder="请输入密码"
							autocomplete="off" class="layui-input">
					</div>
					<!-- 这是密码确认框 -->
					<div class="layui-form-item">
						<i class="layui-icon layui-icon-password"></i>
						<input type="password" name="password" required lay-verify="required|pwd|repwd" placeholder="请再次输入密码"
							autocomplete="off" class="layui-input">
					</div>
					<div class="layui-form-item">
						<!-- 表单提交按钮和普通按钮区别就是lay-submit -->
						<button class="layui-btn layui-btn-fluid layui-btn layui-btn-normal" lay-submit>立即登录</button>
					</div>
					<div class="layui-form-item links">
						<!-- 防跳转 -->
						<a href="javascript:;" id="link_login">去登录</a>
					</div>
				</form>

			</div>
		</div>
		
		<script src="lib/layui-v2.6.8/layui/layui.js" type="text/javascript" charset="utf-8"></script>
		<script src="lib/jQuery.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/API.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/login.js" type="text/javascript" charset="utf-8"></script>
		
	</body>
</html>
